<?php
namespace ac\modules\developer\controllers;

use Yii;
use ac\controllers\AuthController;
use app\modules\developer\models\AppYearLimit;
use common\component\exception\ErrMap;
use common\component\tool\Tool;
use common\models\OperationLog;


class AppYearLimitController extends AuthController
{

	/*年限列表*/
    public function actionList()
    {
        $appYearLimitList = AppYearLimit::find()->select('year')->orderBy(['sort' => SORT_ASC])->asArray()->all();
        // P($appYearLimitList);
        return Tool::showRes([0, '获取成功'], $appYearLimitList);
    }


    
}
